﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ruction.Mapping2
{
    /// <summary>An abstract base for all regions of a map.</summary>
    public abstract class Region : BaseObject
    {
        #region Constructors

        /// <summary>Creates a new instance of Region</summary>
        public Region(Map owner)
        {
            Owner = owner;
        }

        #endregion Constructors

        #region Properties

        #region Name
        /// <summary>Gets or sets the name of the region.</summary>
        public string Name { get; internal set; }
        #endregion Name

        #region Owner
        /// <summary>Gets the map that owns this instance.</summary>
        protected Map Owner { get; private set; }
        #endregion Owner

        #region Size
        /// <summary>Gets or sets the size of this region.</summary>
        public int Size { get; internal set; }
        #endregion Size

        #endregion Properties
    }
}